// Backgroundmusic and Gamesounds
	var music = document.createElement('audio');

	// Play backgroundmusik (looped)
	function playMusic(){
		if (_playMusic && _playSounds) {
			music.setAttribute('src', './Sounds/music.mp3');
			// loop music
			music.addEventListener('ended', function () {
				music.play();
			}, false);
			music.play();
		}
	}

	// Play gamover-sound
	function playSndGameOver(){
		if (_playSounds) {
			var sound = document.createElement('audio');
			//music.pause();
			sound.setAttribute('src','./Sounds/game_over.mp3');
			if (_playSounds) sound.play();
		}
	}

	// Play brick-turn-sound
	function playSndTurn(){
		if (_playSounds) {
			var sound = document.createElement('audio');
			sound.setAttribute('src', './Sounds/turn1.wav');
			sound.play();
		}
	}

	// Play line-full-sound
	function playSndLineFull(){
		if (_playSounds) {
			var sound = document.createElement('audio');
			sound.setAttribute('src','./Sounds/line_full.wav');
			sound.play();
		}
	}